package com.easyOrder.core.filter;

import com.easyOrder.core.utils.WebUtils;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class StdOutErrInitializer implements ServletContextListener {

	@Override
	public void contextDestroyed(ServletContextEvent arg0) {

	}

	@Override
	public void contextInitialized(ServletContextEvent arg0) {
		WebUtils.StdOutErrRedirect.redirectSystemOutAndErrToLog();
	}

}